package org.gd.science.paybarier;

import javax.xml.bind.annotation.*;

@XmlRootElement(name = "payments")
@XmlAccessorType(XmlAccessType.FIELD)
public class Payments {
    @XmlElement(name = "mobypay")
    private MobilePayments mobilePayments;
    @XmlElement(name = "abpayment")
    private ABankPayments aBankPayments;

    public Payments() {
    }

    public MobilePayments getMobilePayments() {
        return mobilePayments;
    }

    public Payments setMobilePayments(MobilePayments mobilePayments) {
        this.mobilePayments = mobilePayments;
        return this;
    }

    public ABankPayments getABankPayments() {
        return aBankPayments;
    }

    public Payments setABankPayments(ABankPayments aBankPayments) {
        this.aBankPayments = aBankPayments;
        return this;
    }
}
